export default {
    //token
    saveToken(state,payload){
        localStorage.setItem('token', payload)
        state.token=payload
    },
    //register phone
    saveRegisterPhone(state,payload){
        state.phone=payload
    },
    //充值url
    saveUrl(state,payload){
        state.chargeUrl=payload
    },
     //股票详情
    saveBuyArr(state,payload){
        state.buyArr=payload
    },                         
     //用户盈利排行
    saveRanks(state,payload){
        state.ranks=payload
    },
     //用户可用资金
    saveMoney(state,payload){
        state.money=payload
    },
     //银行列表
    saveBankList(state,payload){
        state.bankList=payload                    
    },
      //银行列表                                                                             
    savePhoneCode(state,payload){
        state.phoneCode=payload                     
    },
      //银行列表                                                                           
    savePay(state,payload){
        state.pay=payload                     
    }
}